package cn.myjerry.test.ORM;

public class Department {
	private int Id;
	private String Name;
	private String Address;
	public Department() {
		super();
	}
	public Department(String name, String address) {
		super();
		Name = name;
		Address = address;
	}
	public Department(int id, String name, String address) {
		super();
		Id = id;
		Name = name;
		Address = address;
	}
	public int getId() {
		return Id;
	}
	public void setId(int id) {
		Id = id;
	}
	public String getName() {
		return Name;
	}
	public void setName(String name) {
		Name = name;
	}
	public String getAddress() {
		return Address;
	}
	public void setAddress(String address) {
		Address = address;
	}
	@Override
	public String toString() {
		return "{Id:" + Id + ", Name:" + Name + ", Address:" + Address + "}";
	}
	
}
